{include file=$header_start}
{include file=$header_end}
{strip}
<link rel="stylesheet" type="text/css" href="{$siteroot}/templates/default/style/dashboard.css">
{/strip}


<section class="middle_portion">
	<section class="inner_head">Dashboard</section>
    <section class="inner_containstart">
    	<!-- dashboard Left Content Start -->
        	<!-- dashboard Left Content Start -->
        	{include file=$cms_left_content}
        <!-- dashboard Left Content End -->
        <!-- dashboard Right Content Start -->
        	<section class="dash_right">
            	<section class="title_box">
                    <h4>My Sent Item</h4>
                   <section class="clear"></section>
                </section>
                {if $msg}{$msg}{/if}
              <section class="tab_wrapp" id="tabs">
                            <section class="tab_nav">
                                <ul>
                                    <li><a href="{$siteroot}/myaccount/mymessages/">Inbox</a></li>
                                    <li><a href="{$siteroot}/myaccount/mysentmessages/" class="active">Sent Item</a></li>
                                    <li><a href="{$siteroot}/myaccount/message_reply/">Compose</a></li>
                                    <section class="clear"></section>
                                </ul>
                            </section>
                           
                             <section class="tab_des_wrapp sentitem" id="sentitem">
                                  {section name=i loop=$msgArray}
                                     <dl>
                                        <dt>
                                            <section class="date_box"><a href="javascript:;" style=" cursor:default;">To {$msgArray[i].user_name}</a> {$msgArray[i].ago}</section>
                                            
                                            <article><a href="{$siteroot}/myaccount/{$msgArray[i].id|base64_encode}/{$page}/sent/message_view/" style="color:#000;">{$msgArray[i].subject|stripslashes|strip|truncate:110:"..."}</a></article>
                                        </dt>
                                        <dd><a href="{$siteroot}/myaccount/{$msgArray[i].id|base64_encode}/{$page}/sent/delete_message/" onclick="javascript:return confirm('Are you sure do you want to delete this message?');" title="Delete Sent Item">X</a></dd>
                                        <section class="clear"></section>
                                    </dl>
   								  {sectionelse}
				                    	<div class="error" style="padding:10px;text-align:center;">Oops, Sorry there are no messages.</div>
                                  {/section}
                                    
                                    {if $pagenation}
                                        <section class="pagna" style="padding-top:20px;">
                                        {$pagenation}
                                        </section>
                                    {/if}

                           </section>
                           
            			</section>
            </section>
        <!-- dashboard Right Content End -->
        	<section class="clear"></section>
    </section>
</section>


{include file=$footer}